﻿<UserControl x:Class="DiscountSharing.LocalControls.CategoryPicker"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignWidth="480">
    
    <Grid x:Name="LayoutRoot" Margin="12,0,0,0">
        
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>

        <Grid x:Name="HintGrid" Grid.Column="0" Margin="6,6,6,6">
            <TextBlock Text="Choose a category:" FontSize="22" VerticalAlignment="Top" HorizontalAlignment="Left"/>
        </Grid>

        <Grid x:Name="CategoryGrid" Grid.Column="1" Margin="6,6,6,6">
            <ListBox x:Name="CategoryList" HorizontalAlignment="Left" VerticalAlignment="Top" Width="180" FontSize="22" Background="#BFFFFFFF" ItemsSource="{Binding}" Margin="0,6,6,6"/>
        </Grid>
        
    </Grid>
</UserControl>
